﻿<?xml version="1.0" encoding="utf-8" ?>
<!--*
 * 
 * Windows Live ID Membership Provider for SharePoint
 * originally developed for SharePointCommunity.se
 * http://www.sharepointcommunity.se/
 * *******************************************
 * Copyright (c) 2009, Wictor Wilén
 * http://spwla.codeplex.com/
 * http://www.wictorwilen.se/
 * *******************************************
 * Licensed under the Microsoft Public License (Ms-PL) 
 * http://www.opensource.org/licenses/ms-pl.html
 * 
 *-->

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <!-- add the new custom action-->
  <CustomAction Id="PersonalActionsMenu_WLAInfo"
                GroupId="PersonalActions"
                Location="Microsoft.SharePoint.StandardMenu"
                Sequence="1020"
                Title="My Windows Live ID Settings"
                Description="Update the Windows Live ID based user profile"
                ImageUrl="/_layouts/images/SPCS.WindowsLiveAuth/LiveID16.gif">
    <UrlAction Url="~sitecollection/_layouts/liveauth-editprofile.aspx"/>
  </CustomAction>
  <CustomAction Id="SiteColl_WLAAdmin"
                GroupId="SiteCollectionAdmin"
                Location="Microsoft.SharePoint.SiteSettings"
                Sequence="1000"
                Title="Configure Windows Live ID"
                Description="Windows Live ID administration">
    <UrlAction Url="~sitecollection/_layouts/liveauth-admin.aspx"/>
  </CustomAction>

  <!-- delegate control to avoid UUID names on sub site collections -->
  <Control Id="AdditionalPageHead"
           Sequence="10"
           ControlAssembly="SPCS.WindowsLiveAuth, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4b37e1a71dac8e81"
           ControlClass="SPCS.WindowsLiveAuth.UserSyncDelegate"/>
</Elements>